//
//  TT_NavigationViewController.swift
//  BA_MARRY_SWIFT
//
//  Created by 王洋 on 2021/5/10.
//

import UIKit

class TT_NavigationViewController: UINavigationController {

    override func viewDidLoad() {
        super.viewDidLoad()

        self.navigationBar.barTintColor = UIColor.white;
        self.navigationBar.backgroundColor = UIColor.white;

    }
    
    //push的时候判断到子控制器的数量。当大于零时隐藏BottomBar 也就是UITabBarController 的tababar
//    override func pushViewController(_ viewController: UIViewController, animated: Bool) {
//        if self.children.count > 0 {
//            viewController.hidesBottomBarWhenPushed = true
//        }
//        super.pushViewController(viewController, animated: animated)
//    }
    

}
